package com.crane.common.core.exception;


/**
 * 系统异常
 *
 * @author zhenxing.pi
 */
public class SysException extends AppException {

    private static final long serialVersionUID = 4355163994767354840L;

    public SysException() {
        super(BasicErrorCode.SYS_ERROR);
    }

    public SysException(String msg) {
        super(BasicErrorCode.SYS_ERROR.getErrCode(), msg);
    }

    public SysException(Throwable e) {
        super(BasicErrorCode.SYS_ERROR, e);
    }

    public SysException(String msg, Throwable e) {
        super(BasicErrorCode.SYS_ERROR.getErrCode(), msg, e);
    }
}
